Search Results for

    Show / Hide Table of Contents

    Class <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>JsonSerializer

    Inheritance
    System.Object
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>JsonSerializer
    Namespace: Newtonsoft.Json
    Assembly: IronWord.dll
    Syntax
    public class <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>JsonSerializer : Object

    Constructors

    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>JsonSerializer()

    Declaration
    public <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>JsonSerializer()

    Properties

    Binder

    Declaration
    public virtual SerializationBinder Binder { get; set; }
    Property Value
    Type Description
    System.Runtime.Serialization.SerializationBinder

    CheckAdditionalContent

    Declaration
    public virtual bool CheckAdditionalContent { get; set; }
    Property Value
    Type Description
    System.Boolean

    ConstructorHandling

    Declaration
    public virtual  < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > ConstructorHandling ConstructorHandling { get; set; }
    Property Value
    Type Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>ConstructorHandling

    Context

    Declaration
    public virtual StreamingContext Context { get; set; }
    Property Value
    Type Description
    System.Runtime.Serialization.StreamingContext

    ContractResolver

    Declaration
    public virtual  < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > IContractResolver ContractResolver { get; set; }
    Property Value
    Type Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>IContractResolver

    Converters

    Declaration
    public virtual  < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > JsonConverterCollection Converters { get; }
    Property Value
    Type Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>JsonConverterCollection

    Culture

    Declaration
    public virtual CultureInfo Culture { get; set; }
    Property Value
    Type Description
    System.Globalization.CultureInfo

    DateFormatHandling

    Declaration
    public virtual  < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > DateFormatHandling DateFormatHandling { get; set; }
    Property Value
    Type Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>DateFormatHandling

    DateFormatString

    Declaration
    public virtual string DateFormatString { get; set; }
    Property Value
    Type Description
    System.String

    DateParseHandling

    Declaration
    public virtual  < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > DateParseHandling DateParseHandling { get; set; }
    Property Value
    Type Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>DateParseHandling

    DateTimeZoneHandling

    Declaration
    public virtual  < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > DateTimeZoneHandling DateTimeZoneHandling { get; set; }
    Property Value
    Type Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>DateTimeZoneHandling

    DefaultValueHandling

    Declaration
    public virtual  < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > DefaultValueHandling DefaultValueHandling { get; set; }
    Property Value
    Type Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>DefaultValueHandling

    EqualityComparer

    Declaration
    public virtual IEqualityComparer EqualityComparer { get; set; }
    Property Value
    Type Description
    System.Collections.IEqualityComparer

    FloatFormatHandling

    Declaration
    public virtual  < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > FloatFormatHandling FloatFormatHandling { get; set; }
    Property Value
    Type Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>FloatFormatHandling

    FloatParseHandling

    Declaration
    public virtual  < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > FloatParseHandling FloatParseHandling { get; set; }
    Property Value
    Type Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>FloatParseHandling

    Formatting

    Declaration
    public virtual  < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > Formatting Formatting { get; set; }
    Property Value
    Type Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>Formatting

    MaxDepth

    Declaration
    public virtual Nullable<int> MaxDepth { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    MetadataPropertyHandling

    Declaration
    public virtual  < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > MetadataPropertyHandling MetadataPropertyHandling { get; set; }
    Property Value
    Type Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>MetadataPropertyHandling

    MissingMemberHandling

    Declaration
    public virtual  < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > MissingMemberHandling MissingMemberHandling { get; set; }
    Property Value
    Type Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>MissingMemberHandling

    NullValueHandling

    Declaration
    public virtual  < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > NullValueHandling NullValueHandling { get; set; }
    Property Value
    Type Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>NullValueHandling

    ObjectCreationHandling

    Declaration
    public virtual  < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > ObjectCreationHandling ObjectCreationHandling { get; set; }
    Property Value
    Type Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>ObjectCreationHandling

    PreserveReferencesHandling

    Declaration
    public virtual  < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > PreserveReferencesHandling PreserveReferencesHandling { get; set; }
    Property Value
    Type Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>PreserveReferencesHandling

    ReferenceLoopHandling

    Declaration
    public virtual  < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > ReferenceLoopHandling ReferenceLoopHandling { get; set; }
    Property Value
    Type Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>ReferenceLoopHandling

    ReferenceResolver

    Declaration
    public virtual  < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > IReferenceResolver ReferenceResolver { get; set; }
    Property Value
    Type Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>IReferenceResolver

    SerializationBinder

    Declaration
    public virtual  < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > ISerializationBinder SerializationBinder { get; set; }
    Property Value
    Type Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>ISerializationBinder

    StringEscapeHandling

    Declaration
    public virtual  < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > StringEscapeHandling StringEscapeHandling { get; set; }
    Property Value
    Type Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>StringEscapeHandling

    TraceWriter

    Declaration
    public virtual  < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > ITraceWriter TraceWriter { get; set; }
    Property Value
    Type Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>ITraceWriter

    TypeNameAssemblyFormat

    Declaration
    public virtual FormatterAssemblyStyle TypeNameAssemblyFormat { get; set; }
    Property Value
    Type Description
    System.Runtime.Serialization.Formatters.FormatterAssemblyStyle

    TypeNameAssemblyFormatHandling

    Declaration
    public virtual  < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > TypeNameAssemblyFormatHandling TypeNameAssemblyFormatHandling { get; set; }
    Property Value
    Type Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>TypeNameAssemblyFormatHandling

    TypeNameHandling

    Declaration
    public virtual  < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > TypeNameHandling TypeNameHandling { get; set; }
    Property Value
    Type Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>TypeNameHandling

    Methods

    Create()

    Declaration
    public static  < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > JsonSerializer Create()
    Returns
    Type Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>JsonSerializer

    Create(<af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>JsonSerializerSettings)

    Declaration
    public static  < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > JsonSerializer Create( < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > JsonSerializerSettings settings)
    Parameters
    Type Name Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>JsonSerializerSettings settings
    Returns
    Type Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>JsonSerializer

    CreateDefault()

    Declaration
    public static  < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > JsonSerializer CreateDefault()
    Returns
    Type Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>JsonSerializer

    CreateDefault(<af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>JsonSerializerSettings)

    Declaration
    public static  < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > JsonSerializer CreateDefault( < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > JsonSerializerSettings settings)
    Parameters
    Type Name Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>JsonSerializerSettings settings
    Returns
    Type Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>JsonSerializer

    Deserialize(<af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>JsonReader)

    Declaration
    public object Deserialize( < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > JsonReader reader)
    Parameters
    Type Name Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>JsonReader reader
    Returns
    Type Description
    System.Object

    Deserialize(<af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>JsonReader, Type)

    Declaration
    public object Deserialize( < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > JsonReader reader, Type objectType)
    Parameters
    Type Name Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>JsonReader reader
    System.Type objectType
    Returns
    Type Description
    System.Object

    Deserialize(TextReader, Type)

    Declaration
    public object Deserialize(TextReader reader, Type objectType)
    Parameters
    Type Name Description
    System.IO.TextReader reader
    System.Type objectType
    Returns
    Type Description
    System.Object

    Deserialize<T>(<af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>JsonReader)

    Declaration
    public T Deserialize<T>( < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > JsonReader reader)
    Parameters
    Type Name Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>JsonReader reader
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    Populate(<af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>JsonReader, Object)

    Declaration
    public void Populate( < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > JsonReader reader, object target)
    Parameters
    Type Name Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>JsonReader reader
    System.Object target

    Populate(TextReader, Object)

    Declaration
    public void Populate(TextReader reader, object target)
    Parameters
    Type Name Description
    System.IO.TextReader reader
    System.Object target

    Serialize(<af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>JsonWriter, Object)

    Declaration
    public void Serialize( < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > JsonWriter jsonWriter, object value)
    Parameters
    Type Name Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>JsonWriter jsonWriter
    System.Object value

    Serialize(<af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>JsonWriter, Object, Type)

    Declaration
    public void Serialize( < af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > JsonWriter jsonWriter, object value, Type objectType)
    Parameters
    Type Name Description
    <af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>JsonWriter jsonWriter
    System.Object value
    System.Type objectType

    Serialize(TextWriter, Object)

    Declaration
    public void Serialize(TextWriter textWriter, object value)
    Parameters
    Type Name Description
    System.IO.TextWriter textWriter
    System.Object value

    Serialize(TextWriter, Object, Type)

    Declaration
    public void Serialize(TextWriter textWriter, object value, Type objectType)
    Parameters
    Type Name Description
    System.IO.TextWriter textWriter
    System.Object value
    System.Type objectType

    Events

    Error

    Declaration
    public virtual event EventHandler << af9ee0c5 - a8cb - 435  a - 8f  c7 - 7f  3f  1  c1a3657 > ErrorEventArgs >Error
    Event Type
    Type Description
    System.EventHandler<<af9ee0c5-a8cb-435a-8fc7-7f3f1c1a3657>ErrorEventArgs>
    ☀
    ☾
    Downloads
    • Download with NuGet
    • Start for Free
    In This Article
    Back to top
    Install with NuGet
    Want to deploy IronWord to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronWord free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.